@extends('admin.inc.base')
@section('content')
    <link rel="stylesheet" type="text/css" href="/public/statics/libs/wangEditor/dist/css/wangEditor.min.css">


    <div class="panel panel-default">
        <div class="panel-heading">
            编辑文章
        </div>
        <div class="panel-body">
            <form action="/administrator/config/{{ $config->id }}" method="post">
                <div class="form-group">
                    <label for="">配置名称</label>
                    <input type="text" class="form-control" name="title" value="{{ $config->title }}"  placeholder="配置名称">
                </div>

                <div class="form-group">
                    <label for="">配置键</label>
                    <input type="text" class="form-control" name="ckey" value="{{ $config->ckey }}" placeholder="配置键">
                    <p class="help-block">建议英文</p>
                </div>


                <div class="form-group">
                    <label for="">配置值</label>
                    <textarea name="cval" id="cval" class="form-control" style="height:400px;">{{ $config->cval }}</textarea>

                    <p class="help-block"></p>
                </div>

                <button type="submit" class="btn btn-default">提交</button>
            </form>
        </div>
    </div>



@endsection